package com.Module;

public class Menber {
      private int  mid      ;
      private String  mname    ;
      private String  mnumber  ;
      private int  roomid   ;
      private double  rentmoney;
      private String  indate   ;
      private String  enddate  ;
      private double  payment  ;

    public Menber(int mid, String mname, String mnumber, int roomid, double rentmoney, String indate, String enddate, double payment) {
        this.mid = mid;
        this.mname = mname;
        this.mnumber = mnumber;
        this.roomid = roomid;
        this.rentmoney = rentmoney;
        this.indate = indate;
        this.enddate = enddate;
        this.payment = payment;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getMnumber() {
        return mnumber;
    }

    public void setMnumber(String mnumber) {
        this.mnumber = mnumber;
    }

    public int getRoomid() {
        return roomid;
    }

    public void setRoomid(int roomid) {
        this.roomid = roomid;
    }

    public double getRentmoney() {
        return rentmoney;
    }

    public void setRentmoney(double rentmoney) {
        this.rentmoney = rentmoney;
    }

    public String getIndate() {
        return indate;
    }

    public void setIndate(String indate) {
        this.indate = indate;
    }

    public String getEnddate() {
        return enddate;
    }

    public void setEnddate(String enddate) {
        this.enddate = enddate;
    }

    public double getPayment() {
        return payment;
    }

    public void setPayment(double payment) {
        this.payment = payment;
    }

    @Override
    public String toString() {
        return "Menber{" +
                "mid=" + mid +
                ", mname='" + mname + '\'' +
                ", mnumber='" + mnumber + '\'' +
                ", roomid=" + roomid +
                ", rentmoney='" + rentmoney + '\'' +
                ", indate='" + indate + '\'' +
                ", enddate='" + enddate + '\'' +
                ", payment='" + payment + '\'' +
                '}';
    }
}
